import request from '@/utils/aliyunRequest';

const employeePromotionApi = {};


employeePromotionApi.list = (employeeId) => {
	return request({
		url: '/aliyun-api/employee-promotion/list/' + employeeId,
		method: 'get',
	})
}
employeePromotionApi.add = (params) => {
	return request({
		url: '/aliyun-api/employee-promotion',
		method: 'post',
		data: params,
	})
}
employeePromotionApi.delete = (id) => {
	return request({
		url: '/aliyun-api/employee-promotion/' + id,
		method: 'delete',
	})
}

export default employeePromotionApi